import { Form } from 'vant'
import fetch from './fetch'

const bigToastProps = {
	duration: 5000,
	className: 'tkon-toast'
}

export function exposelists(className) {
	return fetch({
		url: 'insurance/expose/insuranceWebList',
		method: 'post',
		data: {
			page: 1,
			limit: 9999,
			className
		},
		headers: {
			'Content-Type': 'application/json'
		}
	})
}

export function exposeInfo(id) {
	return fetch({
		url: 'insurance/expose/insuranceWebInfo/' + id,
		method: 'get'
	})
}
// 推送访问日志
export function pushLog() {
	return fetch({
		url: 'insurance/expose/pushLog',
		method: 'get'
	})
}
